package com.itheima.day10_Map.Test5;

public class Test2 {
    public static void main(String[] args) {
      /*  int s = 100;            //int转换成String类型
        String s1 = s +"";
        System.out.println(s1);*/

      int a = 10;
      int b = 20;
      int c =30;
        System.out.println(getsum(a, b));
        System.out.println(getsum(a, b, c));


    }
    public static int getsum(int a ,int b){
        return a+b;
    }
    public static int getsum(int a ,int b , int c){
        return a+b +c ;
    }

}
